package com.xinggq.common.enums;

import lombok.Getter;

/**
 * @Description
 * @Author xinggq
 * @Date 2025/10/31
 */
@Getter
public enum EnableEnum {

  /**
   * 启用
   */
  Y(1, "启用"),
  /**
   * 禁用
   */
  N(0, "禁用"),
  /**
   * 删除
   */
  D(-1, "删除");

  private final Integer code;
  private final String msg;

  EnableEnum(Integer code, String msg) {
    this.code = code;
    this.msg = msg;
  }

}
